package com.aiwei.tdjk.service;


import com.aiwei.tdjk.bean.Pager;
import com.aiwei.tdjk.dto.request.CustomsStandardPagerRequest;
import com.aiwei.tdjk.entity.CustomsStandard;

public interface CustomsStandardService {

    /**
     * 分页查询
     * @param request
     * @return
     */
    Pager<CustomsStandard> find(CustomsStandardPagerRequest request);

    /**
     * 分页查询
     * @param id
     * @return
     */
    CustomsStandard get(Long id);

    /**
     * 根据规格名称查询
     * @param standard
     * @return
     */
    CustomsStandard getByStandard(String standard);

    /**
     * 新增
     * @param customsStandard
     * @return
     */
    int add(CustomsStandard customsStandard);

    /**
     * 更新
     * @param customsStandard
     */
    void update(CustomsStandard customsStandard);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);



}
